Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Setup tests #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Setup tests #6

wants to merge 6 commits into from

Conversation

ff6347
Copy link
Contributor

@ff6347 ff6347 commented Aug 11, 2020

This PR is my take on setup testing for the backend. I split up a lot of logic in smaller chunks to allow better unit tests. I also wrote some tests for some utility functions.

you can run the tests and see the (low) coverage by running npm t -- --coverage

The frontend still needs some kind of bundler to make it more testable (IMHO).
The idea would be to move the jest.config.js and the current package.json to the backend folder and create a new testing environment for the frontend in the client folder.

Let me know what you think.

@ff6347 ff6347 requested a review from jvolker as a code owner August 11, 2020 07:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant